{include file="header.html"}

<script type="text/javascript">
//<!CDATA[
$(function(){
  
    
    $("#search").click(function(){
    	$("#act").val("index");

    	$("#form1").submit();
    });
});
//]]>
</script>

<div id="rightTop">
	<p>{$lang.haul_define}</p>
	<ul class="subnav">
		<li><span>{$lang.manage}</span>
		</li>
		<li><a class="btn1" href="index.php?app=haul_define&amp;act=add">{$lang.add}</a>
		</li>
	</ul>
</div>
<div class="mrightTop">
	<div class="fontl">
		<form method="get">
			<div class="left">
		
               
                  
                  
                  
                    <input type="hidden" name="app" value="haul_define" />
                <input type="hidden" name="act" value="index" />
             	 	运程名称:
                <input class="queryInput" type="text" name="h_name" value="{$smarty.get.h_name}" />

                 	运程联系人:
                <input class="queryInput" type="text" name="h_linkman" value="{$smarty.get.h_linkman}" />
                
                
                
                
                <input type="submit" class="formbtn" value="{$lang.query}" />
          
           
                  
                  
                  
			</div>
		</form>
	</div>
	<div class="fontr">{include file=page.top.html}</div>
	<div class="clear:both;"></div>
</div>
<div class="tdare">
	<table width="100%" cellspacing="0" class="dataTable">
		<!--{if $haul_define}-->
		<tr class="tatr1">
			<td width="20" class="firstCell"><input type="checkbox"
				class="checkall" />
			</td>
			<td align="left">运单类型</td>
			<td align="left">{$lang.h_name}</td>
			<td>{$lang.h_short_name}</td>
			<td align="left">{$lang.h_order}</td>
			<td>{$lang.h_address}</td>
			<td>{$lang.h_linkman}</td>
			<td>{$lang.h_linkman_tel}</td>
			<td>{$lang.h_type}</td>

			<td style="text-align: center;width: 100px">{$lang.handler}</td>
		</tr>
		<!--{/if}-->
		<!--{foreach from=$haul_define item=w}-->
		<tr class="tatr2">
		    <td class="firstCell"> <input type="checkbox" class="checkitem" value="{$w.h_tid}"/></td>
			<td>{$w.h_wm_type|escape}</td>
			<td>{$w.h_name|escape}</td>
			<td>{$w.h_short_name|escape}</td>
			<td>{$w.h_order|escape}</td>
			<td>{$w.h_address}</td>
			<td>{$w.h_linkman}</td>
			<td>{$w.h_linkman_tel}</td>
			<!--{if $w.h_type==0}-->
			<td>自动确认</td>

			<!--{/if}-->
				<!--{if  $w.h_type==1}-->
			<td>手动确认</td>

			<!--{/if}-->
				<!--{if $w.h_type==2}-->
			<td>混合确认</td>

			<!--{/if}-->
			
			
			
			

                     
                                      <td style="text-align: center;">

                       <a href="index.php?app=haul_define&amp;act=edit&amp;id={$w.h_tid}">{$lang.edit}</a>
             |
                <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=haul_define&amp;act=drop&amp;id={$w.h_tid}');">{$lang.drop}</a></td>
              
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data">
			<td colspan="7">{$lang.no_data}</td>
		</tr>
		<!--{/foreach}-->
	</table>
	<!--{if $haul_define}-->
	<div id="dataFuncs">
		<div class="pageLinks">{include file=page.bottom.html}</div>
		<div id="batchAction" class="left paddingT15">
			&nbsp;&nbsp;
			 <input class="formbtn batchButton" type="button"
				value="{$lang.drop}" name="id" uri="index.php?app=haul_define&act=drop"
				presubmit="confirm('{$lang.drop_confirm}');" /> &nbsp;&nbsp;
			<!--<input class="formbtn batchButton" type="button" value="lang.update_order" name="id" presubmit="updateOrder(this);" />-->
		</div>
		<div class="clear:both;"></div>
	</div>
	<div class="clear"></div>
	<!--{/if}-->
</div>
{include file="footer.html"}
